<template>
  <el-card>
    <div class="page-tools">
      <div class="left">
        <div v-if="$slots.left" class="tips">
          <slot name="left" />
        </div>
        <div v-if="$slots.search" class="search">
          <slot name="search" />
        </div>
      </div>
      <div class="right">
        <slot name="right" />
      </div>
    </div>
  </el-card>
</template>

<script>
export default {
  created() {
    // console.log(this.$slots)
  }
}
</script>

<style lang="scss" scoped>
::v-deep {
  .el-card__body {
    padding: 6px 15px !important;
  }
  .el-form-item {
    margin-bottom: 0 !important;
  }
}
.page-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
